<?php
declare(strict_types=1);
namespace cms\exam\admin\mvc_controller;

use Hyperf\HttpServer\Annotation\AutoController;
use Psr\Http\Message\ResponseInterface;

/**
 * Class TopicImportController
 * @package cms\exam\admin\mvc_controller
 * @AutoController(prefix="mvc/exam/admin_topic_import")
 */
class TopicImportController extends CommonController
{
    /**
     * @return ResponseInterface
     */
    public function retrieve(): ResponseInterface
    {
        // 站点
        $app = $this->_getApp(true);
        return $this->template(['app' => $app]);
    }

    /**
     * @return ResponseInterface
     */
    public function create(): ResponseInterface
    {
        // 站点
        $app = $this->_getApp(true);
        return $this->template(['app' => $app], 'form');
    }
}